package com.travelsky.login.api;

import java.io.Serializable;

/**
 * 登录响应对象
 */
public class LoginResponse extends BaseResponse implements Serializable {

  /**用户名*/
  private String userId;
  /**最后登录时间*/
  private String lastLoginTime;
  /**用户信息*/
  private UserProjectionDto userProjectionDto;

  /**
   * Gets the value of userProjectionDto.
   *
   * @return the value of userProjectionDto
   */
  public UserProjectionDto getUserProjectionDto() {
    return userProjectionDto;
  }

  /**
   * Sets the userProjectionDto.
   *
   * @param userProjectionDto userProjectionDto
   * @return this
   */
  public LoginResponse setUserProjectionDto(UserProjectionDto userProjectionDto) {
    this.userProjectionDto = userProjectionDto;
    return this;
  }

  /**
   * Gets the value of userName.
   *
   * @return the value of userName
   */
  public String getUserId() {
    return userId;
  }

  /**
   * Sets the userName.
   *
   * @param userId userName
   * @return this
   */
  public LoginResponse setUserId(String userId) {
    this.userId = userId;
    return this;
  }

  /**
   * Gets the value of lastLoginTime.
   *
   * @return the value of lastLoginTime
   */
  public String getLastLoginTime() {
    return lastLoginTime;
  }

  /**
   * Sets the lastLoginTime.
   *
   * @param lastLoginTime lastLoginTime
   * @return this
   */
  public LoginResponse setLastLoginTime(String lastLoginTime) {
    this.lastLoginTime = lastLoginTime;
    return this;
  }
}
